package openadmin.dao.annotations.type;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <desc> Set of attributes to display in a Form view
 * 
 * <example> @FormView (name="myName" , members="id, description; population")
 * 
 * <instructions>
 * 	Use comma (,) for separating elements, and semicolon (;) for new line.
 * 	You can use section {} and group [] elements for layout purposes;
 * 
 * @author edu
 *
 */

@Retention(value=RetentionPolicy.RUNTIME)
@Target(value={ElementType.TYPE})

public @interface FormView {
	public String name() 	default "";			// Name of the view
	public String members() default "";			// Name of the members using OpenXava Style 
}